package controllers

import (
	"server/router"

	"github.com/gin-gonic/gin"
)

func init() {
	router.RegisterDefaultGroup("entry", func(r *gin.RouterGroup) {
		r.POST("entry", Entry)
		r.GET("log", Log)
	})

}

func Entry(c *gin.Context) {

	c.String(200, "hello entry")
}

func Log(c *gin.Context) {

	c.String(200, "")
}
